Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry launch_app to fix OOM flakes #1144

Merged
merged 1 commit into from
Jul 1, 2021
Merged

Conversation

nickdowell
Copy link
Contributor

Goal

To fix flakes in the OOM scenario.

Changeset

The Appium logs revealed that the launch_app command sometimes fails when run after the fixture app has stopped running / been terminated.

This change will attempt a retry for the I relaunch the app step used by the OOM scenario.

Testing

Was not able to reproduce the flake despite over 100 runs of the scenario on iOS 12.

@github-actions
Copy link

github-actions bot commented Jul 1, 2021

Infer: No issues found 🎉

OCLint: No issues found 🎉

Bugsnag.framework binary size did not change - 1,134,024 bytes

Generated by 🚫 Danger

Copy link
Contributor

@twometresteve twometresteve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect it will continue to flake, but this is nice and simple and worth a shot.
We'll keep our ticket in play to investigate further - I'd look to put a mechanism into MR for retrying any action in Maze Runner a set number of times, waiting for a set time between.

@nickdowell nickdowell merged commit c2d3e89 into next Jul 1, 2021
@nickdowell nickdowell deleted the nickdowell/fix-oom-flake branch July 1, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants